home *** CD-ROM | disk | FTP | other *** search
- ; -- Example3.iss --
- ; Same as Example1.iss, but creates some registry entries too.
- ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES!
- [Setup]
- AppName=My Program
- AppVerName=My Program version 1.5
- DefaultDirName={pf}\My Program
- DefaultGroupName=My Program
- UninstallDisplayIcon={app}\MyProg.exe
- [Files]
- Source: "MyProg.exe"; DestDir: "{app}"
- Source: "MyProg.hlp"; DestDir: "{app}"
- Source: "Readme.txt"; DestDir: "{app}"; Flags: isreadme
- [Icons]
- Name: "{group}\My Program"; Filename: "{app}\MyProg.exe"
- ; NOTE: Most apps do not need registry entries to be pre-created. If you
- ; don't know what the registry is or if you need to use it, then chances are
- ; you don't need a [Registry] section.
- [Registry]
- ; Start "Software\My Company\My Program" keys under HKEY_CURRENT_USER
- ; and HKEY_LOCAL_MACHINE. The flags tell it to always delete the
- ; "My Program" keys upon uninstall, and delete the "My Company" keys
- ; if there is nothing left in them.
- Root: HKCU; Subkey: "Software\My Company"; Flags: uninsdeletekeyifempty
- Root: HKCU; Subkey: "Software\My Company\My Program"; Flags: uninsdeletekey
- Root: HKLM; Subkey: "Software\My Company"; Flags: uninsdeletekeyifempty
- Root: HKLM; Subkey: "Software\My Company\My Program"; Flags: uninsdeletekey
- Root: HKLM; Subkey: "Software\My Company\My Program\Settings"; ValueType: string; ValueName: "Path"; ValueData: "{app}"
-